<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>员工信息管理系统 - 首页</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
    <div class="header-content">
        <h1>员工信息管理系统</h1>
        <div class="user-info">
            <span>欢迎您，${user.username}</span>
            <a href="${pageContext.request.contextPath}/logout" class="logout-btn">退出登录</a>
        </div>
    </div>
</header>

<nav>
    <ul>
        <li><a href="${pageContext.request.contextPath}/dashboard.jsp" class="active">首页</a></li>
        <li><a href="${pageContext.request.contextPath}/employee">员工管理</a></li>
    </ul>
</nav>

<main>
    <div class="dashboard-content">
        <h2>系统首页</h2>
        <p>欢迎使用员工信息管理系统，请通过左侧菜单进行操作。</p>
    </div>
</main>
</body>
<script src="js/script.js"></script>
</html>